#include<bits/stdc++.h>
using namespace std;
int T = 0;
signed main() {
	// freopen(".in", "r", stdin);
	// freopen(".out", "w", stdout);

    system("g++ -O2 -Wall -Wl,--stack=53670912 -std=c++14 maker.cpp -o maker");
    system("g++ -O2 -Wall -Wl,--stack=53670912 -std=c++14 bf.cpp -o bf");
    system("g++ -O2 -Wall -Wl,--stack=53670912 -std=c++14 brotherhood.cpp -o brotherhood");

	while(++T) {
		system("maker.exe");
		double st = clock();
		system("brotherhood.exe");
		double ed = clock();
		system("bf.exe");

		if(system("fc brotherhood.out brotherhood.ans")) {
			puts("Wrong Answer");
			return 0;
		} 
		else printf("Accepted, test #%d, time %0.lfms\n", T, ed - st);

	}
    return 0;
}